/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package categorias;

import java.sql.SQLException; 
import java.util.logging.Level;
import java.util.logging.Logger;
/**
 *
 * @author L01085043
 */
public class Mysql extends SQLQuery {
    private Object conn;
    private object consulta; 
    private object prepareStatement; 
    
 public void verTodos(){
   this.conectar("127.0.0.1", "categorias", "rodolfo", "Sergio.750622"); 
   this.consulta = this.conn.prepareStatement("SELECT, genero from CDs");
    this.datos = this.consulta.executeQuery(); 
    while (this.datos.next()){
        System.out.printl("Servicio:" +this.datos.getInt("Misica")+ "Cantantes" +this.datos.getString("cantantes") ); 
    }
 
 
     } 

    private void conectar(String string, String categoriar, String rodolfo, String sergio750622) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    private static class object {

        public object() {
        }
    }

    }
     
    

 

